package se.thoka.twt.client.users;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface AbstractUserServiceAsync<U extends AbstractUser> {

	void getCurrentUser(AsyncCallback<U> callback);
	
	void loginUser(String username, String password, AsyncCallback<U> callback);
	
	void logoutUser(AsyncCallback<Void> callback);
}
